<?php
class HomeController extends AdminAppController{
    function index()
    {
        $this->loadModel('Admin.User');
        $this->loadModel('Admin.Cart');
        
        $last_user = $this->User->get_last_user();
        $this->set('last_user', $last_user);
        
        $last_cart = $this->Cart->get_last_cart();
        $this->set('last_cart', $last_cart);

    }
}